<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/www/css/logonForm.css" type="text/css" />

<script language="javascript">
	

	function check() {
		if (!document.inputForm.filename.value) {
			alert("제목을 입력하세요.");
			document.inputForm.subject.focus();

			return false;

		} else {
			document.inputForm.submit();
			window.close();
			opener.location ="/itfinger/content/LinkXml.action?filename="+document.inputForm.filename.value;
			
			
		}
	}
</script>
<title>파일등록</title>
</head>

<body>
	<form action="/itfinger/content/OutputXml.action" method="post" name="inputForm">
		<table cellSpacing=1 cellpadding=1 width="220" align="center">
		<tr height="30">
			<td colspan="2" align="center" bgcolor="yellow" ><strong>LINK PAGE 추가</strong></td>
		</tr>
	
		<tr height = "30">
			<td width="125" align="left">제목</td>
			<td width="150" align="left">
				<input type ="text" name="filename" size="20" id="filename"/></td>
		</tr>
		
		<tr height = "30">
			<td width="125" align ="left">TYPE</td>
			
	<td width="150" align ="left">
	<select id="type">
	<option value="static">&nbsp;&nbsp;STATIC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
	<option value="default" selected>&nbsp;&nbsp;DEFAULT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
	</select>
	</td>
		
		</tr>

		<tr height="50">
			<td width="270" colspan="2" align="left">
				<input type="button" value="  페이지 추가  " onclick="return check();"/>&nbsp;&nbsp;&nbsp;
				<input type="button" value="  취 소  " onclick="window.close();" /></td>
		</tr>

		</table>
	</form>
</body>
</html>


